﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Пятн
{
    public partial class Form1 : Form
    {

        Collections collection; 
        
        public Form1()
        {
            InitializeComponent();
        }


        private void pictureBox1_Click(object sender, EventArgs e)
        {
            collection = new Collections(1,9);
            this.Hide();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            collection = new Collections(2,9);
            this.Hide();
        }

        private void pictureBox3_Click(object sender, EventArgs e)
        {
            collection = new Collections(3,9);
            this.Hide();
        }

        private void pictureBox4_Click(object sender, EventArgs e)
        {
            collection = new Collections(4,16);
            this.Hide();
        }

        private void pictureBox5_Click(object sender, EventArgs e)
        {
            collection = new Collections(5,16);
            this.Hide();
        }

        private void pictureBox6_Click(object sender, EventArgs e)
        {
            collection = new Collections(6,16);
            this.Hide();
        }

        public Image Фон1 { get; set; }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
